package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap58 extends OSMap
	{
		public function OSMap58()
		{
			super();

			var ground:OSGround = new OSGround(0, 600, 20, 480, 0, false);
			ground.setNoErosionDown([23]);
			ground.setNoErosionLeft([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]);
			ground.setNoErosionRight([2]);
			ground.erode();
			add(ground);

			add(new OSBridge(20, 640, 17, 5, true));

			ground = new OSGround(360, 620, 20, 460, 0, false);
			ground.setNoErosionDown([22]);
			ground.setNoErosionLeft([1]);
			ground.setNoErosionRight([7]);
			ground.erode();
			add(ground);

			//add(new OSBridge(380, 700, 20, 5, true)); //Trop violent
			
			ground = new OSGround(380, 760, 400, 20);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([19]);
			ground.erode();
			add(ground);

			ground = new OSGround(780, 680, 20, 400, 0, false);
			ground.setNoErosionDown([19]);
			ground.setNoErosionLeft([4]);
			ground.setNoErosionRight([4]);
			ground.erode();
			add(ground);

			ground = new OSGround(800, 760, 160, 20, 0, false);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([7]);
			ground.erode();
			add(ground);

		}
	}
}
